PackageReader.GetFileStream Method

Returns a System.IO.Stream that can read the specified file.

Parent Type: PackageReader

Namespace: Microsoft.LearningComponents

Assembly: Microsoft.LearningComponents.dll

Syntax
C#

public abstract Stream GetFileStream (
string filePath

)

Parameters

filePath

The package-relative path to the file. If this path indicates a file that is not in the package, a FileNotFoundException is thrown.

Return Value

A System.IO.Stream for the specified file.